Nevron Open Vision Documentation
Nevron.Nov.DataStructures Namespace / NDynamicArray<T> Class / EnsureCapacity Method


In This Topic
    EnsureCapacity Method
    In This Topic
    Ensures that this dynamic array has the capacity to handle the specified amount of items.
    Syntax
    'Declaration
     
    
    Public Sub EnsureCapacity( _
       ByVal capacity As System.Integer _
    ) 
    'Usage
     
    
    Dim instance As NDynamicArray(Of T)
    Dim capacity As System.Integer
     
    instance.EnsureCapacity(capacity)
    public void EnsureCapacity( 
       System.int capacity
    )

    Parameters

    capacity
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also